import request from '@/utils/request'

// 获取组合查询列表信息
export function getGroupList(data) {
  return request({
    url: 'api/authoring/productManagement/getGroupList',
    method: 'post',
    params: data
  })
}

// 添加组合中的新产品
export function addProductInGroup(data) {
  return request({
    url: 'api/authoring/productManagement/addProductInGroup',
    method: 'post',
    params: data
  })
}

// 重命名组合
export function modifyGroupName(data) {
  return request({
    url: 'api/authoring/productManagement/modifyGroupName',
    method: 'post',
    params: data
  })
}

// 删除组合
export function deleteGroup(data) {
  return request({
    url: 'api/authoring/productManagement/deleteGroup',
    method: 'post',
    params: data
  })
}
